file and variable reassignment