Minor change in checking file's existance