Check if we can ls the file