Bug-5 record module

Hi, @john-hu This Patch is for record word feature. Please help me review it. Thank you~
The `Context ctx` is only used by getFile. How about move getFile to other utils and just use `File` as the argument.