added support for reverse filename specification on input #70