added most of aoi's old effects (readFile, writeFile, etc.)
eliminated unnecessary imports