parameters: (filepath)
return_statement: return content
docstring: Open file in same directory as script and retrieve its content.
docstring_summary: Open file in same directory as script and retrieve its content.
docstring_tokens: Open file in same directory as script and retrieve its content .
function: def get_file_content(filepath) -> str:
      """Open file in same directory as script and retrieve its content."""
      location = os.path.realpath(os.path.dirname(__file__))
      file = open(os.path.join(location, filepath), "r")
      content = file.read()
      file.close()
      return content
function_tokens: def get_file_content ( filepath ) -> str : location = os . path . realpath ( os . path . dirname ( __file__ ) ) file = open ( os . path . join ( location , filepath ) , "r" ) content = file . read ( ) file . close ( ) return content