check if file is a real file, not a directory, symlink, ..