I think a code base with a directory name that contains a space also yields the "File does not have expected format" issue. I hate spaces in filenames, but some colleagues like them...