if test -d data; then
	chmod 777 data/*
	chmod -R 777 data/
fi

rm -rf data
mkdir -p data

touch data/file
mkdir data/dir

echo '{"Video" : ["Entry One", "Entry Two"]}' > data/mru_ok.json

echo '{"Video" : [1, 3]}' > data/mru_invalid.json

printf %s '1234567890' > data/ten_bytes
touch -r "$0" data/touch_mod_time

mkdir data/options

mkdir data/dir_iterator
touch data/dir_iterator/1.a
touch data/dir_iterator/2.a
touch data/dir_iterator/1.b
touch data/dir_iterator/2.b

mkdir data/vfr
mkdir data/vfr/out

mkdir data/keyframe
