If data filepath has a single entry, return the filepath as a string, otherwise return the list.
State.filepath
dgs.utils.state.State.device
dgs.utils.state.State.image