UPDATE: updated src to access files from basepath