erasing unnecessary io and erasing non scan regarding files from compilation