file.replace: append/prepend_if_not_found
file.replace(append_if_not_found) - test units