Updated readme
Added a check for  to make sure we're getting the file/path, and explicitly defining it if get_attached_file() fails