Use simpler file constructor