Added auxiliary functions to retrieve running file and command line arguments