mobile file logic.