main function read/write/new file
the different of import module methods
add handlers,rules and the code