Fixed file not being found in directory.