A shop owner bought 30 files and some diaries .he paid $82.50 for the files.each diary cost 10 times as much as a file.what was the cost of each diary?