file locations as parameters for better portability