What are the maximum number of days an original contractor has to file a lien after completing a project?

What are the maximum number of days an original contractor has to file a lien after completing a project?