#158 use filename:basename instead of lists:suffix to get file source

Use filename:basename instead of lists:suffix to get file source