Introduced isReadableFile() which encapsulates checking if the given file