Setting up file class