[TASK] Added check if file exists