Utils for operating files