Improved import project data script so that it can use a filename as a parameter