Use NSFileCoordinator to get file attributes