Review code from 'rubdos' patch:
    - set only the file name, the extension is set with parsing 'f' option