Adding loadFile method for arbitrary load requests. Reorganizing constants