Fix front end portion of pushSingleFile

Need to check pushSingleFile back end portion and other tests