Deleted some IO stuff. This should be done later..