some bugs fixed, add file access module