The objective is to simulate a filesystem based on an existing directory structure given as an input file and allow multiple clients to manipulate the system residing on a server without inconsistencies. Also implement minimal security and restrictions.