Fixed a problem with checking for the '.' dir in the first file