fix file receiver and add assets dir in public