added file selection, seeking, and limits