Implementing readBytes

Also testing to make sure an uploaded file is actually a file, since we
can’t yet handle recursive directory uploads.