Added error handling for fileref deletion
Merge pull request #22 from cizra/fileref-deletion-errors

Added error handling for fileref deletion