Use an alternative method to check for file permission