Leave clearFile params as nullable