add check if file exist