filefunctions update