Added predict method for files not in the project.