created a create file function. it is in the early stages so little to
no error checking and I am sure it is as buggy as shit. I did not want
to parse strings so I kepted track, sector and block as numbers, but
this is getting very cluttered... well not going backwards so have to
fucking deal with this...

also added file.js to the index.html file.