Added getFile Function and getSizef function