* Files : corrected file access, file sharing and added type of file to ws