Move file process from api access class