Better way of checking files before depl0y