Python Split File Path Into Layer