Utils for work with files