AVALANCHE: Minor repairs regarding file handling.