Use NSURL's getResourceValue:forKey:error: method instead of NSFIleManager