Adjustment for external data sources

Checks the state of fileData.data to support external files as data
sources.