def METHOD_NAME(file):
  process = False
  for extension in extensions:
    if extension in file:
      process = True
  if process:
    try:
      with open(file, "r") as fh:
        content=find_and_replace(fh.read())
        fh.close()
      if content:
        print(f"Replacing absolute paths in {file}")
        with open(file, "w") as fh:
          fh.write(content)
          fh.close()
    except Exception as e:
      print('Exception: ', file, e)