Add Files API and support for run ranges

Add Files API and support for run ranges