fix #74

add new exception for file operations so the message will be clearer