Fixed problem with non-existent files