Read workDir, binDir and metaSimPath from command line arguments
Simplifying some filenames