Testing files directory functionality