Use path when loading common arguments from the file module

Resolves issue #4653