closes #144 - was fetching the title instead of filename
 - there should be some test coverage