Separated io from file, started local file impl