Referencing file from bin directory in asp.net
<p>This is from a codebase that I have seen and I am not sure if it is good practice to do this. </p>

<pre><code>string path = HttpContext.Current.Server.MapPath("~/Bin/Transactions/accounts.csv");
</code></pre>

<p>When the solution is compiled the <code>.csv</code> file is automatically copied to the bin folder, but is it bad practice to reference a physical file from the bin folder? </p>