Add compress+file and dir functios.