Added filename checker