Add filename input functionality