basic function example
ignore vim swp files