Added file access
Added HTTP header and flag for published documents
Added changes in datastructure of document table
Added getFilePath() and adjusted datastructure to changes in document table (database)