Handle case where file has no extension.