method name should be more clear, e.g.fileExists