return filename along with completed file