added getFileArguments-function