Function to determine if a file lies in a working directory.
Usage
wd_check(filelocation)
Arguments
filelocation
A character string specifying a file location.
Value
A file location. Gives the file location without the working directory if the file is in it (also can be a subfolder), but returns the full path if not.