* fixed output to user
* added missing "filename"