Fixing iOS file pattern