fixed #4: functionality was actually already there, fileext was just different to expected