app: port the pluginrc code from filename to GFile