proceses from file