commit change to filehandling here as well