file io

add module with often used functions and function pointers, use that module in already established code and add file io to intset.