Creating file class.