add filename and extension to File class