Fixed bug for when full paths of rpg files were given as arguments