file helper

Signed-off-by: Aleksey Snisar <osni@isd.dp.ua>