added flush and close methods to UsbFile
creating files is now permitted when item already exists
changed visibility to package on some methods and classes