# Path function appropriate for

**URL:** <https://racket.discourse.group/t/path-function-appropriate-for/246>\
**Category:** Questions & Answers\
**Created:** [November 24, 2021, 4:22pm UTC](https://racket.discourse.group/t/path-function-appropriate-for/246 "2021-11-24T16:22:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [November 24, 2021, 7:04pm UTC](https://racket.discourse.group/t/path-function-appropriate-for/246/5 "2021-11-24T19:04:42Z")

</div>

It sounds like you want to refer to files that are in a known location with respect to the source code. So, for instance, I might have a file called "email-processor.rkt" with a file called "email-rules.csv" that's in the same directory. In this case, I would echo Ryan Culpepper's suggestion that you use the runtime-path functions. here's a snippet of code that illustrates what I mean:

```
#lang racket

(require racket/runtime-path)

(define-runtime-path here ".")

(file->string (build-path here "email-rules.csv"))

```

---

_[View the full topic](https://racket.discourse.group/t/path-function-appropriate-for/246)._
