Added optparse to get filename & check one has been entered. Also added check for initial Project Directory.