added live view of text files and fixed file uploads, need to add mysql store