fixed problem with files