http file clean up