Change getFilePath to public.